﻿using System;
using System.Linq;
using System.Reflection;
using FluentAssertions;
using MvcApplication.Controllers;
using NUnit.Framework;
using T4MvcJs;

namespace T4JS.Tests
{
    [TestFixture]
    public class ConstantsTests
    {
        [Test]
        public void Test1()
        {
            var value =
                typeof(HomeController).GetFields().First(x => x.Name == "GalleryAnimationAttribute3").
                    GetRawConstantValue() as string;

            value.Should().Be("zxc");
        }

    }
}